package function;
//在ParkAndSidewalk类中使用
public class Car {
	private String mark;//表示此车的字母，如A,B,C，在模拟停车时用字母符号来表示汽车
	private long inTime;//此车停入停车场的时间
	private long outTime;//此车开出停车场的时间

	public Car(String mark) {
		this.mark=mark;
		this.inTime=0;
		this.outTime=0;		
	}
	
	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public long getInTime() {
		return inTime;
	}

	public void setInTime(long inTime) {
		this.inTime = inTime;
	}

	public long getOutTime() {
		return outTime;
	}

	public void setOutTime(long outTime) {
		this.outTime = outTime;
	}

}
